package app.dao.test;

import java.io.BufferedWriter;
import java.io.IOException;

import javax.servlet.http.HttpServletRequest;

import com.vaadin.terminal.gwt.server.ApplicationServlet;

public class VaadinApplicationServlet extends ApplicationServlet {
	private static final long serialVersionUID = 1L;

	@Override
    protected void writeAjaxPageHtmlHeader(BufferedWriter page, String title, String themeUri, HttpServletRequest request) throws IOException {
        page.write("<script language='javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js'></script>");
        page.write("<script language='javascript' src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js'></script>");
        page.write("<script language='javascript' src='" + request.getContextPath() + "/VAADIN/themes/Pricing_Layout/layouts/js/popup.js'></script>");
        super.writeAjaxPageHtmlHeader(page, title, themeUri, request);
    }
}
